package com.ctrip.ec.biz.entity.goods;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("e_goods_image")
public class GoodsImageEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("goods_id")
    private Long goodsId;
    @DbColumn("image_id")
    private Long imageId;
    @DbColumn("image_url")
    private String imageUrl;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    @DbColumn("is_delete")
    private Boolean isDelete;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  Long getGoodsId(){
        return this.goodsId;
    }
    public void setGoodsId(Long goodsId){
        this.goodsId = goodsId;
    }
    public  Long getImageId(){
        return this.imageId;
    }
    public void setImageId(Long imageId){
        this.imageId = imageId;
    }
    public  String getImageUrl(){
        return this.imageUrl;
    }
    public void setImageUrl(String imageUrl){
        this.imageUrl = imageUrl;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
    public  Boolean getIsDelete(){
        return this.isDelete;
    }
    public void setIsDelete(Boolean isDelete){
        this.isDelete = isDelete;
    }
}